package com.sg.dto.integration.framework;

import com.sg.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class MemberCollectionDataReqDto
        extends BaseDto
        implements Serializable {

    @ApiModelProperty("身份人员列表")
    private List<BeginMemberDto> beginMemberList = new ArrayList<>();

    /**
     * 取X条数:
     */
    @NotNull(message = "取X条数不能为空")
    @ApiModelProperty("取X条数")
    private Long collectionData;
}
